package cn.ylz.ylmall.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ContentStandardVO {
    private Long id; //文章或视频id
    private Long type; //发布类型
    private String title; //文章或视频标题
    private String content; //文章或视频内容
    private Integer createBy; //发布人id
    private String userName; //发布人名字
    private String avatar; //发布人头像
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss",timezone = "Asia/Shanghai")
    private Date createTime; //发布时间
    private String imgUrl;//封面图片地址
    private String videoUrl;//视频地址
    private String brief; //文章简介
    private Integer viewCount; //浏览数
    private Integer likeCount; //点赞数
    private Integer commentCount; //评论数
    private Integer collectCount; //收藏数
    private String videoDescribe; //视频简介
    private Long categoryId; //二级分类id

}
